Postman collection schema v2.0 vs v2.1

생성일 비교 결과 만료 없음
64 삭제
584 행
84 추가
602 행
{
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://schema.getpostman.com/json/collection/v2.0.0/",
"id": "https://schema.getpostman.com/json/collection/v2.1.0/",
"type": "object",
"type": "object",
"properties": {
"properties": {
"info": {
"info": {
"$ref": "#/definitions/info"
"$ref": "#/definitions/info"
},
},
"item": {
"item": {
"type": "array",
"type": "array",
"description": "Items are the basic unit for a Postman collection. You can think of them as corresponding to a single API endpoint. Each Item has one request and may have multiple API responses associated with it.",
"description": "Items are the basic unit for a Postman collection. You can think of them as corresponding to a single API endpoint. Each Item has one request and may have multiple API responses associated with it.",
"items": {
"items": {
"title": "Items",
"title": "Items",
"oneOf": [
"oneOf": [
{
{
"$ref": "#/definitions/item"
"$ref": "#/definitions/item"
},
},
{
{
"$ref": "#/definitions/item-group"
"$ref": "#/definitions/item-group"
}
}
]
]
}
}
},
},
"event": {
"event": {
"$ref": "#/definitions/event-list"
"$ref": "#/definitions/event-list"
},
},
"variable": {
"variable": {
"$ref": "#/definitions/variable-list"
"$ref": "#/definitions/variable-list"
},
},
"auth": {
"auth": {
"oneOf": [
"oneOf": [
{
{
"type": "null"
"type": "null"
},
},
{
{
"$ref": "#/definitions/auth"
"$ref": "#/definitions/auth"
}
}
]
]
},
},
"protocolProfileBehavior": {
"protocolProfileBehavior": {
"$ref": "#/definitions/protocol-profile-behavior"
"$ref": "#/definitions/protocol-profile-behavior"
}
}
},
},
"required": [
"required": [
"info",
"info",
"item"
"item"
],
],
"definitions": {
"definitions": {
"auth-attribute": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Auth",
"id": "#/definitions/auth-attribute",
"description": "Represents an attribute for any authorization method provided by Postman. For example `username` and `password` are set as auth attributes for Basic Authentication method.",
"properties": {
"key": {
"type": "string"
},
"value": {},
"type": {
"type": "string"
}
},
"required": [
"key"
]
},
"auth": {
"auth": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"type": "object",
"title": "Auth",
"title": "Auth",
"id": "#/definitions/auth",
"id": "#/definitions/auth",
"description": "Represents authentication helpers provided by Postman",
"description": "Represents authentication helpers provided by Postman",
"properties": {
"properties": {
"type": {
"type": {
"type": "string",
"type": "string",
"enum": [
"enum": [
"apikey",
"apikey",
"awsv4",
"awsv4",
"basic",
"basic",
"bearer",
"bearer",
"digest",
"digest",
"edgegrid",
"edgegrid",
"hawk",
"hawk",
"ntlm",
"noauth",
"noauth",
"oauth1",
"oauth1",
"oauth2"
"oauth2",
"ntlm"
]
]
},
},
"noauth": {},
"noauth": {},
"apikey": {
"apikey": {
"type": "object",
"type": "array",
"title": "API Key Authentication",
"title": "API Key Authentication",
"description": "The attributes for API Key Authentication. e.g. key, value, in."
"description": "The attributes for API Key Authentication.",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
},
"awsv4": {
"awsv4": {
"type": "object",
"type": "array",
"title": "AWS Signature v4",
"title": "AWS Signature v4",
"description": "The attributes for [AWS Auth](http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). e.g. accessKey, secretKey, region, service."
"description": "The attributes for [AWS Auth](http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
},
"basic": {
"basic": {
"type": "object",
"type": "array",
"title": "Basic Authentication",
"title": "Basic Authentication",
"description": "The attributes for [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication). e.g. username, password."
"description": "The attributes for [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
},
"bearer": {
"bearer": {
"type": "object",
"type": "array",
"title": "Bearer Token Authentication",
"title": "Bearer Token Authentication",
"description": "The attributes for [Bearer Token Authentication](https://tools.ietf.org/html/rfc6750). e.g. token."
"description": "The helper attributes for [Bearer Token Authentication](https://tools.ietf.org/html/rfc6750)",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
},
"digest": {
"digest": {
"type": "object",
"type": "array",
"title": "Digest Authentication",
"title": "Digest Authentication",
"description": "The attributes for [Digest Authentication](https://en.wikipedia.org/wiki/Digest_access_authentication). e.g. username, password, realm, nonce, nonceCount, algorithm, qop, opaque, clientNonce."
"description": "The attributes for [Digest Authentication](https://en.wikipedia.org/wiki/Digest_access_authentication).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
},
"edgegrid": {
"edgegrid": {
"type": "object",
"type": "array",