{"swagger":"2.0","info":{"title":"API Title","version":"1.0.0"},"servers":[{"url":"http://localhost/command/v1"}],"components":{"schemas":{"IdentityNumber":{"type":"string","minLength":3,"maxLength":12,"example":80123456},"IdentityType":{"type":"string","enum":["CC","CE","PA"],"example":"CC"},"CommandAuth":{"type":"object","properties":{"rquuid":{"type":"string","format":"uuid"},"command":{"type":"string","enum":["sendOTP","loggedIn","loggedOut"]},"identityType":{"$ref":"#/components/schemas/IdentityType"},"identityNumber":{"$ref":"#/components/schemas/IdentityNumber"},"ip":{"type":"string","format":"ipv4"},"timestamp":{"type":"string","format":"date-time"}}}}},"paths":{"/auth":{"post":{"description":"post campaign for document","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandAuth"}}}},"responses":{"201":{"description":"created"},"400":{"description":"Bad Request"},"500":{"description":"Internal server error"}}}}},"host":"virtserver.swaggerhub.com","basePath":"/druiz13/011/1.0.0","schemes":["https"]}