{"type":"object","required":["version","serviceId","dnsMappedPorts","pilets","serviceAccounts","regularVariables","secureVariables"],"additionalProperties":false,"description":"The configMap object required to create a Service Deployment Manifest in Hosting Service","properties":{"version":{"type":"string","enum":["1.0"],"description":"The version of Service Deployment Manifest Schema"},"serviceId":{"type":"string","description":"Service ID of the service which the Service Deployment Manifest belongs to","minLength":3,"maxLength":25},"dnsMappedPorts":{"type":"array","description":"Ports that will be mapped to DNS entries","items":{"type":"object","required":["name","port"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Name for the port. This can be used as a well-known placeholder key in the variables section","minLength":1},"port":{"type":"integer","description":"Port number","minimum":1,"maximum":65535}}}},"pilets":{"type":"array","description":"Pilets associated with the deployed service","items":{"type":"object","required":["name","args"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the pilet","minLength":1},"args":{"type":"object","description":"Environment variables for the pilet","required":[],"properties":{}}}}},"serviceAccounts":{"type":"array","description":"Service Accounts to be created for the service","items":{"type":"object","required":["name","permissionStructure"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the Service Account","minLength":1},"permissionStructure":{"type":"array","description":"Permission structure for the Service Account","items":{"type":"object","required":["serviceId","permissions"],"properties":{"serviceId":{"type":"string","description":"Service ID of the permissions to be granted for"},"permissions":{"type":"array","description":"List of permissions","items":{"type":"string"}}}}}}}},"regularVariables":{"type":"object","description":"Regular environment variables to be used for the service deployment. If concrete values are set, they will be stored as-received and will be used at deployment-time. If well-known placeholder keys are used, they will be resolved into concrete values at deployment-time","required":[],"properties":{}},"secureVariables":{"type":"object","description":"Secure environment variables to be used for the service deployment. If concrete values are set, they will be stored in a secure-storage automatically, and will be resolved to the concrete values at deployment-time. If well-known placeholder keys are used, they will be resolved into concrete values at deployment-time","required":[],"properties":{}}},"default":{"type":"object","required":["version","serviceId","dnsMappedPorts","pilets","serviceAccounts","regularVariables","secureVariables"],"additionalProperties":false,"description":"The configMap object required to create a Service Deployment Manifest in Hosting Service","properties":{"version":{"type":"string","enum":["1.0"],"description":"The version of Service Deployment Manifest Schema"},"serviceId":{"type":"string","description":"Service ID of the service which the Service Deployment Manifest belongs to","minLength":3,"maxLength":25},"dnsMappedPorts":{"type":"array","description":"Ports that will be mapped to DNS entries","items":{"type":"object","required":["name","port"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Name for the port. This can be used as a well-known placeholder key in the variables section","minLength":1},"port":{"type":"integer","description":"Port number","minimum":1,"maximum":65535}}}},"pilets":{"type":"array","description":"Pilets associated with the deployed service","items":{"type":"object","required":["name","args"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the pilet","minLength":1},"args":{"type":"object","description":"Environment variables for the pilet","required":[],"properties":{}}}}},"serviceAccounts":{"type":"array","description":"Service Accounts to be created for the service","items":{"type":"object","required":["name","permissionStructure"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the Service Account","minLength":1},"permissionStructure":{"type":"array","description":"Permission structure for the Service Account","items":{"type":"object","required":["serviceId","permissions"],"properties":{"serviceId":{"type":"string","description":"Service ID of the permissions to be granted for"},"permissions":{"type":"array","description":"List of permissions","items":{"type":"string"}}}}}}}},"regularVariables":{"type":"object","description":"Regular environment variables to be used for the service deployment. If concrete values are set, they will be stored as-received and will be used at deployment-time. If well-known placeholder keys are used, they will be resolved into concrete values at deployment-time","required":[],"properties":{}},"secureVariables":{"type":"object","description":"Secure environment variables to be used for the service deployment. If concrete values are set, they will be stored in a secure-storage automatically, and will be resolved to the concrete values at deployment-time. If well-known placeholder keys are used, they will be resolved into concrete values at deployment-time","required":[],"properties":{}}}}}