{
"components": { "schemas": { "request": { "type": "object", "xml": { "name": "/" }, "properties": { "printer": { "type": "object", "properties": { "site_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "department_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "technical_contact": { "$ref": "../../components.json#/components/request/schemas/association_by_email" }, "address": { "type": "string", "example": "address description", "description": "Building/Floor/Room" } } } } }, "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "printer": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "HP Color Printer" }, "driver": { "type": "string", "example": "Driver description" }, "port": { "type": "string", "example": "Port description" }, "shared": { "type": "boolean", "example": true }, "site": { "$ref": "../../components.json#/components/response/schemas/site_response" }, "department": { "$ref": "../../components.json#/components/response/schemas/department_response" }, "technical_contact": { "$ref": "../../components.json#/components/response/schemas/group_details" } } } } } } }
}