UNPKG

@itentialopensource/adapter-nuage

Version:
34 lines 905 B
{ "$id": "zone-schema_schema.json", "type": "object", "schema": "http://json-schema.org/draft-07/schema#", "translate": true, "dynamicfields": true, "properties": { "ph_request_type": { "type": "string", "description": "type of request (internal to adapter)", "default": "getZones", "enum": [ "getZones", "getDomainZones", "createZone", "updateZone", "deleteZone" ], "external_name": "ph_request_type" }, "name": { "type": "string", "description": "the name of the zone", "external_name": "name" } }, "allOf": [ { "if" : { "properties" : { "ph_request_type": { "enum": ["createZone"] } } }, "then" : { "required" : ["name"] } }, { "if" : { "properties" : { "ph_request_type": { "enum": ["updateZone"] } } }, "then" : { "required" : ["name"] } } ], "definitions": {} }