Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.18 KB | None | 0 0
  1. {"swagger": "2.0", "info": {"title": "Snippets API", "description": "Test description", "termsOfService": "https://www.google.com/policies/terms/", "contact": {"email": "contact@snippets.local"}, "license": {"name": "BSD License"}, "version": "v1"}, "host": "localhost:8000", "schemes": ["http"], "basePath": "/", "consumes": ["application/json"], "produces": ["application/json"], "securityDefinitions": {"Basic": {"type": "basic"}}, "security": [{"Basic": []}], "paths": {"/auth/token/login/": {"post": {"operationId": "auth_token_login_create", "description": "Use this endpoint to obtain user authentication token.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/TokenCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/TokenCreate"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/token/logout/": {"post": {"operationId": "auth_token_logout_create", "description": "Use this endpoint to logout user (remove user authentication token).", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/": {"get": {"operationId": "auth_users_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/User"}}}}}}, "tags": ["auth"]}, "post": {"operationId": "auth_users_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UserCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UserCreate"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/activation/": {"post": {"operationId": "auth_users_activation", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Activation"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Activation"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/me/": {"get": {"operationId": "auth_users_me_read", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/User"}}}}}}, "tags": ["auth"]}, "put": {"operationId": "auth_users_me_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/User"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/User"}}}, "tags": ["auth"]}, "patch": {"operationId": "auth_users_me_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/User"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/User"}}}, "tags": ["auth"]}, "delete": {"operationId": "auth_users_me_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/resend_activation/": {"post": {"operationId": "auth_users_resend_activation", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SendEmailReset"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SendEmailReset"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/reset_password/": {"post": {"operationId": "auth_users_reset_password", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SendEmailReset"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SendEmailReset"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/reset_password_confirm/": {"post": {"operationId": "auth_users_reset_password_confirm", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/PasswordResetConfirm"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/PasswordResetConfirm"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/reset_username/": {"post": {"operationId": "auth_users_reset_username", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SendEmailReset"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SendEmailReset"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/reset_username_confirm/": {"post": {"operationId": "auth_users_reset_username_confirm", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/UsernameResetConfirm"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/UsernameResetConfirm"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/set_password/": {"post": {"operationId": "auth_users_set_password", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SetPassword"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SetPassword"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/set_username/": {"post": {"operationId": "auth_users_set_username", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/SetUsername"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/SetUsername"}}}, "tags": ["auth"]}, "parameters": []}, "/auth/users/{id}/": {"get": {"operationId": "auth_users_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/User"}}}, "tags": ["auth"]}, "put": {"operationId": "auth_users_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/User"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/User"}}}, "tags": ["auth"]}, "patch": {"operationId": "auth_users_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/User"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/User"}}}, "tags": ["auth"]}, "delete": {"operationId": "auth_users_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["auth"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this user.", "required": true, "type": "integer"}]}, "/get-quote/": {"get": {"operationId": "get-quote_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/QuoteConsumerFacing"}}}}}}, "tags": ["get-quote"]}, "parameters": []}, "/get-quote/{token}/": {"get": {"operationId": "get-quote_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteConsumerFacing"}}}, "tags": ["get-quote"]}, "parameters": [{"name": "token", "in": "path", "required": true, "type": "string"}]}, "/inquire/": {"get": {"operationId": "inquire_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/QuoteInquiryCreate"}}}}}}, "tags": ["inquire"]}, "post": {"operationId": "inquire_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}}, "tags": ["inquire"]}, "parameters": []}, "/inquire/{id}/": {"get": {"operationId": "inquire_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}}, "tags": ["inquire"]}, "put": {"operationId": "inquire_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}}, "tags": ["inquire"]}, "patch": {"operationId": "inquire_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiryCreate"}}}, "tags": ["inquire"]}, "delete": {"operationId": "inquire_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["inquire"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this quote inquiry.", "required": true, "type": "integer"}]}, "/inquiries/": {"get": {"operationId": "inquiries_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/QuoteInquiry"}}}}}}, "tags": ["inquiries"]}, "post": {"operationId": "inquiries_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/QuoteInquiry"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiry"}}}, "tags": ["inquiries"]}, "parameters": []}, "/inquiries/{id}/": {"get": {"operationId": "inquiries_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiry"}}}, "tags": ["inquiries"]}, "put": {"operationId": "inquiries_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/QuoteInquiry"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiry"}}}, "tags": ["inquiries"]}, "patch": {"operationId": "inquiries_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/QuoteInquiry"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/QuoteInquiry"}}}, "tags": ["inquiries"]}, "delete": {"operationId": "inquiries_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["inquiries"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this quote inquiry.", "required": true, "type": "integer"}]}, "/listing/": {"get": {"operationId": "listing_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Listing"}}}}}}, "tags": ["listing"]}, "post": {"operationId": "listing_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Listing"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Listing"}}}, "tags": ["listing"]}, "parameters": []}, "/listing/{id}/": {"get": {"operationId": "listing_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Listing"}}}, "tags": ["listing"]}, "put": {"operationId": "listing_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Listing"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Listing"}}}, "tags": ["listing"]}, "patch": {"operationId": "listing_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Listing"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Listing"}}}, "tags": ["listing"]}, "delete": {"operationId": "listing_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["listing"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this listing.", "required": true, "type": "integer"}]}, "/more-info/": {"get": {"operationId": "more-info_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/MoreInfoTracker"}}}}}}, "tags": ["more-info"]}, "post": {"operationId": "more-info_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/MoreInfoTracker"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/MoreInfoTracker"}}}, "tags": ["more-info"]}, "parameters": []}, "/more-info/{id}/": {"get": {"operationId": "more-info_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/MoreInfoTracker"}}}, "tags": ["more-info"]}, "put": {"operationId": "more-info_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/MoreInfoTracker"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/MoreInfoTracker"}}}, "tags": ["more-info"]}, "patch": {"operationId": "more-info_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/MoreInfoTracker"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/MoreInfoTracker"}}}, "tags": ["more-info"]}, "delete": {"operationId": "more-info_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["more-info"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this more info tracker.", "required": true, "type": "integer"}]}, "/quote/": {"get": {"operationId": "quote_list", "description": "", "parameters": [{"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Quote"}}}}}}, "tags": ["quote"]}, "post": {"operationId": "quote_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Quote"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Quote"}}}, "tags": ["quote"]}, "parameters": []}, "/quote/{id}/": {"get": {"operationId": "quote_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Quote"}}}, "tags": ["quote"]}, "put": {"operationId": "quote_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Quote"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Quote"}}}, "tags": ["quote"]}, "patch": {"operationId": "quote_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Quote"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Quote"}}}, "tags": ["quote"]}, "delete": {"operationId": "quote_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["quote"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this quote.", "required": true, "type": "integer"}]}}, "definitions": {"TokenCreate": {"type": "object", "properties": {"password": {"title": "Password", "type": "string", "minLength": 1}, "username": {"title": "Username", "type": "string", "minLength": 1}}}, "User": {"type": "object", "properties": {"email": {"title": "Email address", "type": "string", "format": "email", "maxLength": 254}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "readOnly": true, "minLength": 1}}}, "UserCreate": {"required": ["username", "password"], "type": "object", "properties": {"email": {"title": "Email address", "type": "string", "format": "email", "maxLength": 254}, "username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "pattern": "^[\\w.@+-]+$", "maxLength": 150, "minLength": 1}, "id": {"title": "ID", "type": "integer", "readOnly": true}, "password": {"title": "Password", "type": "string", "minLength": 1}}}, "Activation": {"required": ["uid", "token"], "type": "object", "properties": {"uid": {"title": "Uid", "type": "string", "minLength": 1}, "token": {"title": "Token", "type": "string", "minLength": 1}}}, "SendEmailReset": {"required": ["email"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}}}, "PasswordResetConfirm": {"required": ["uid", "token", "new_password"], "type": "object", "properties": {"uid": {"title": "Uid", "type": "string", "minLength": 1}, "token": {"title": "Token", "type": "string", "minLength": 1}, "new_password": {"title": "New password", "type": "string", "minLength": 1}}}, "UsernameResetConfirm": {"required": ["new_username"], "type": "object", "properties": {"new_username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "pattern": "^[\\w.@+-]+$", "maxLength": 150, "minLength": 1}}}, "SetPassword": {"required": ["new_password", "current_password"], "type": "object", "properties": {"new_password": {"title": "New password", "type": "string", "minLength": 1}, "current_password": {"title": "Current password", "type": "string", "minLength": 1}}}, "SetUsername": {"required": ["new_username"], "type": "object", "properties": {"new_username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "pattern": "^[\\w.@+-]+$", "maxLength": 150, "minLength": 1}}}, "QuoteConsumerFacing": {"required": ["email"], "type": "object", "properties": {"token": {"title": "Token", "type": "string"}, "email": {"title": "Email", "type": "string", "minLength": 1}, "first_name": {"title": "First name", "type": "string", "x-nullable": true}, "last_name": {"title": "Last name", "type": "string", "x-nullable": true}, "phone": {"title": "Phone", "type": "string", "x-nullable": true}, "address": {"title": "Address", "type": "string", "x-nullable": true}, "zip": {"title": "Zip", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "price_low": {"title": "Price low", "type": "number", "x-nullable": true}, "price_high": {"title": "Price high", "type": "number", "x-nullable": true}, "listing_price": {"title": "Listing price", "type": "number", "x-nullable": true}}}, "QuoteInquiryCreate": {"required": ["first_name", "last_name", "email", "address", "zip", "condition"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created": {"title": "Created", "type": "string", "format": "date-time", "readOnly": true}, "modified": {"title": "Modified", "type": "string", "format": "date-time", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "minLength": 1}, "email": {"title": "Email", "type": "string", "minLength": 1}, "address": {"title": "Address", "type": "string", "minLength": 1}, "zip": {"title": "Zip", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "condition": {"title": "Condition", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "phone": {"title": "Phone", "type": "string", "x-nullable": true}, "agent_started": {"title": "Agent started", "type": "boolean"}, "replied": {"title": "Replied", "type": "boolean"}, "token": {"title": "Token", "type": "string"}, "agent_tracker": {"title": "Agent tracker", "type": "integer", "x-nullable": true}}}, "QuoteInquiry": {"required": ["first_name", "last_name", "email", "address", "zip", "condition"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created": {"title": "Created", "type": "string", "format": "date-time", "readOnly": true}, "modified": {"title": "Modified", "type": "string", "format": "date-time", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "minLength": 1}, "email": {"title": "Email", "type": "string", "minLength": 1}, "address": {"title": "Address", "type": "string", "minLength": 1}, "zip": {"title": "Zip", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "condition": {"title": "Condition", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "phone": {"title": "Phone", "type": "string", "x-nullable": true}, "agent_started": {"title": "Agent started", "type": "boolean"}, "replied": {"title": "Replied", "type": "boolean"}, "token": {"title": "Token", "type": "string"}, "agent_tracker": {"title": "Agent tracker", "type": "integer", "x-nullable": true}}}, "Listing": {"required": ["address", "city", "state", "zip"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created": {"title": "Created", "type": "string", "format": "date-time", "readOnly": true}, "modified": {"title": "Modified", "type": "string", "format": "date-time", "readOnly": true}, "address": {"title": "Address", "type": "string", "maxLength": 100, "minLength": 1}, "city": {"title": "City", "type": "string", "maxLength": 100, "minLength": 1}, "state": {"title": "State", "type": "string", "maxLength": 2, "minLength": 1}, "zip": {"title": "Zip", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "user": {"title": "User", "type": "integer", "x-nullable": true}}}, "MoreInfoTracker": {"required": ["email", "plan_type"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created": {"title": "Created", "type": "string", "format": "date-time", "readOnly": true}, "modified": {"title": "Modified", "type": "string", "format": "date-time", "readOnly": true}, "token": {"title": "Token", "type": "string"}, "email": {"title": "Email", "type": "string", "minLength": 1}, "plan_type": {"title": "Plan type", "type": "string", "enum": ["FULL", "FLAT", "FSBO", "ALAC", "PROS", "BYER", "OTHR"]}, "user": {"title": "User", "type": "integer", "x-nullable": true}}}, "Quote": {"required": ["email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created": {"title": "Created", "type": "string", "format": "date-time", "readOnly": true}, "modified": {"title": "Modified", "type": "string", "format": "date-time", "readOnly": true}, "email": {"title": "Email", "type": "string", "minLength": 1}, "first_name": {"title": "First name", "type": "string", "x-nullable": true}, "last_name": {"title": "Last name", "type": "string", "x-nullable": true}, "phone": {"title": "Phone", "type": "string", "x-nullable": true}, "address": {"title": "Address", "type": "string", "x-nullable": true}, "zip": {"title": "Zip", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "token": {"title": "Token", "type": "string"}, "price_low": {"title": "Price low", "type": "number", "x-nullable": true}, "price_high": {"title": "Price high", "type": "number", "x-nullable": true}, "listing_price": {"title": "Listing price", "type": "number", "x-nullable": true}, "user": {"title": "User", "type": "integer", "x-nullable": true}, "inquiry": {"title": "Inquiry", "type": "integer", "x-nullable": true}, "mls_cma": {"title": "Mls cma", "type": "integer", "x-nullable": true}}}}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement