{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-migration-hub/refs/heads/main/json-schema/migration-hub-api-resource-attribute-schema.json", "title": "ResourceAttribute", "description": "

Attribute associated with a resource.

Note the corresponding format required per type listed below:

IPV4

x.x.x.x

where x is an integer in the range [0,255]

IPV6

y : y : y : y : y : y : y : y

where y is a hexadecimal between 0 and FFFF. [0, FFFF]

MAC_ADDRESS

^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$

FQDN

^[^<>{}\\\\\\\\/?,=\\\\p{Cntrl}]{1,256}$

", "type": "object", "properties": { "Type": { "allOf": [ { "$ref": "#/components/schemas/ResourceAttributeType" }, { "description": "Type of resource." } ] }, "Value": { "allOf": [ { "$ref": "#/components/schemas/ResourceAttributeValue" }, { "description": "Value of the resource type." } ] } }, "required": [ "Type", "Value" ] }