Skip to content

Commit

Permalink
CloudFormation Resource Provider Definition MetaSchema update
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaeng authored Oct 11, 2024
1 parent a73666d commit f1e6a95
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 280 deletions.
40 changes: 0 additions & 40 deletions src/rpdk/core/data/schema/base.definition.schema.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,38 +70,6 @@
"AttributeList"
]
},
"relationshipRef": {
"$comment": "The relationshipRef relate a property in the resource to that in another resource",
"type": "object",
"properties": {
"typeName": {
"$comment": "Name of the related resource",
"type": "string",
"pattern": "^[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}$"
},
"propertyPath": {
"$comment": "Path of the property in the related resource schema",
"type": "string",
"pattern": "^(\/properties\/)[A-Za-z0-9]*$"
},
"publisherId": {
"$comment": "Id of the related third party resource publisher",
"type": "string",
"pattern": "[0-9a-zA-Z]{12,40}"
},
"majorVersion": {
"$comment": "Major version of the related resource",
"type": "integer",
"minimum": 1,
"maximum": 10000
}
},
"required": [
"typeName",
"propertyPath"
],
"additionalProperties": false
},
"$ref": {
"$ref": "http://json-schema.org/draft-07/schema#/properties/$ref"
},
Expand Down Expand Up @@ -301,14 +269,6 @@
},
"additionalProperties": false
},
"propertyTransform": {
"type": "object",
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"type": "string"
}
}
},
"remote": {
"description": "Reserved for CloudFormation use. A namespace to inline remote schemas.",
"type": "object",
Expand Down
Loading

0 comments on commit f1e6a95

Please sign in to comment.