|
714 | 714 | } |
715 | 715 | } |
716 | 716 | ] |
717 | | - }, |
718 | | - "validationRules": { |
719 | | - "globalRules": [ |
720 | | - "All JSON files must be valid JSON", |
721 | | - "All policy.xml files must be valid XML", |
722 | | - "All specification files must be valid for their format (YAML/JSON/GraphQL/WSDL/WADL)", |
723 | | - "File names must match resource type conventions from resource-types.ts", |
724 | | - "Directory structure must match artifactDirectory patterns from resource-types.ts" |
725 | | - ], |
726 | | - "secretRedactionRules": [ |
727 | | - "NamedValue with secret=true: properties.value must be null or '[REDACTED]'", |
728 | | - "Logger credentials: instrumentationKey and connectionString must be redacted", |
729 | | - "Subscription keys: primaryKey and secondaryKey must be redacted" |
730 | | - ], |
731 | | - "protocolValidation": [ |
732 | | - "REST APIs: protocols array should include 'https' or 'http'", |
733 | | - "SOAP APIs: type should be 'soap'", |
734 | | - "GraphQL APIs: type should be 'graphql'", |
735 | | - "WebSocket APIs: protocols should include 'wss' or 'ws', type should be 'websocket'" |
736 | | - ] |
737 | | - }, |
738 | | - "notes": [ |
739 | | - "This manifest is generated from all-resources.bicep and extraction service code", |
740 | | - "Actual counts may vary by SKU (Developer, Premium, StandardV2, PremiumV2)", |
741 | | - "Some resources (workspaces, self-hosted gateways) are SKU-dependent", |
742 | | - "Revision naming follows pattern: {apiName};rev={N}", |
743 | | - "Operations may not have individual info files (ApiOperation has infoFile: null)", |
744 | | - "ProductTag is embedded in productInformation.json, not separate files", |
745 | | - "ServicePolicy is stored at root as policy.xml, not in a policies/ directory", |
746 | | - "Wiki resources use wiki.md filename, not wikiInformation.json", |
747 | | - "Association files (apis.json, groups.json) contain arrays of {name: string} objects", |
748 | | - "Specification formats: yaml (default), json, graphql, wsdl, wadl" |
749 | | - ] |
| 717 | + } |
750 | 718 | } |
0 commit comments