The following sample shows the POST /environments/{environmentId}/schemas/{schemaId}/attributes operation to add a new custom attribute to a specified schema resource. In the request body, the name property is required. All other properties are optional.