সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্যারামিটার এবং স্কিমাগুলির type এবং format বৈশিষ্ট্যগুলি সম্পত্তির ডেটা প্রকার নির্ধারণ করতে ব্যবহার করা যেতে পারে। JSON অনুরোধ এবং প্রতিক্রিয়া পাঠানো হলে type প্রপার্টি প্রপার্টির ধরন নির্দেশ করে (JSON ডেটা টাইপের একটি ছোট সেট সমর্থন করে, বিস্তারিত জানার জন্য json.org দেখুন)। format বৈশিষ্ট্য অন্তর্নিহিত প্রকার সম্পর্কে অতিরিক্ত তথ্য প্রদান করে। বৈশিষ্ট্যগুলির সর্বদা একটি type সম্পত্তি থাকবে, তবে কিছুতে একটি format সম্পত্তিও থাকতে পারে।
উদাহরণস্বরূপ, একটি 64-বিট পূর্ণসংখ্যা JSON-এ উপস্থাপন করা যাবে না (যেহেতু JavaScript এবং JSON 2^53 পর্যন্ত পূর্ণসংখ্যা সমর্থন করে)। অতএব, একটি 64-বিট পূর্ণসংখ্যা অবশ্যই JSON অনুরোধ/প্রতিক্রিয়াগুলিতে একটি স্ট্রিং হিসাবে উপস্থাপন করা উচিত। তাই type প্রপার্টি "স্ট্রিং" এ সেট করা হবে, কিন্তু format প্রপার্টি "int64" এ সেট করা হবে যাতে বোঝা যায় এটি একটি 64-বিট পূর্ণসংখ্যা।
JSON স্কিমা স্পেক ইতিমধ্যেই format সম্পত্তির জন্য সাধারণ মানগুলির একটি সেট সংজ্ঞায়িত করে ৷ Google APIs ডিসকভারি সার্ভিস এই মানগুলির কিছু সমর্থন করে এবং অন্যদেরকেও সংজ্ঞায়িত করে। Google APIs আবিষ্কার পরিষেবা দ্বারা সমর্থিত type এবং format মানগুলির সম্পূর্ণ তালিকা নীচে সংক্ষিপ্ত করা হয়েছে৷
একটি নির্বিচারে স্ট্রিং। JSON স্কিমা স্পেক দ্বারা সংজ্ঞায়িত।
string
byte
একটি প্যাডেড, বেস64-এনকোডেড বাইটের স্ট্রিং, একটি URL এবং ফাইলের নাম নিরাপদ বর্ণমালার সাথে এনকোড করা (কখনও কখনও "ওয়েব-নিরাপদ" বা "বেস64url" হিসাবে উল্লেখ করা হয়)। RFC4648 দ্বারা সংজ্ঞায়িত।
string
date
YYYY-MM-DD ফর্ম্যাটে একটি RFC3339 তারিখ। JSON স্কিমা স্পেসিকে সংজ্ঞায়িত করা হয়েছে।
string
date-time
UTC সময়ে একটি RFC3339 টাইমস্ট্যাম্প। এটি yyyy-MM-ddTHH:mm:ss.SSSZ ফর্ম্যাটে। মিলিসেকেন্ডের অংশ ("SSS") ঐচ্ছিক। JSON স্কিমা স্পেসিকে সংজ্ঞায়িত করা হয়েছে।
string
google-datetime
UTC সময়ে একটি RFC3339 টাইমস্ট্যাম্প। এটি yyyy-MM-ddTHH:mm:ss.SSSZ ফর্ম্যাটে। মিলিসেকেন্ডের অংশ ("SSS") ঐচ্ছিক।
string
google-duration
একটি স্ট্রিং প্রত্যয় "s" (সেকেন্ড নির্দেশ করে) শেষ হয় এবং সেকেন্ডের সংখ্যার আগে থাকে, ন্যানোসেকেন্ডগুলি ভগ্নাংশীয় সেকেন্ড হিসাবে প্রকাশ করে। সময়কাল সর্বদা দশমিক বিন্দু হিসাবে ব্যবহৃত হয়, কমা নয়।
string
google-fieldmask
একটি স্ট্রিং যেখানে ক্ষেত্রের নাম একটি কমা দ্বারা পৃথক করা হয়। ক্ষেত্রের নামগুলি নিম্ন-উটের নামকরণের রীতিতে উপস্থাপন করা হয়।
string
int64
একটি 64-বিট স্বাক্ষরিত পূর্ণসংখ্যা। এটির সর্বনিম্ন মান -9,223,372,036,854,775,808 এবং সর্বাধিক মান 9,223,372,036,854,775,807 (অন্তর্ভুক্ত)।
string
uint64
একটি 64-বিট স্বাক্ষরবিহীন পূর্ণসংখ্যা। এটির সর্বনিম্ন মান 0 এবং সর্বাধিক মান (2^64)-1 (অন্তর্ভুক্ত)।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e property defines the data type in JSON, while the \u003ccode\u003eformat\u003c/code\u003e property provides additional context about the underlying type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etype\u003c/code\u003e is always present, but \u003ccode\u003eformat\u003c/code\u003e is optional and offers further data type details.\u003c/p\u003e\n"],["\u003cp\u003eGoogle APIs Discovery Service supports standard JSON Schema formats and defines its own for specific Google data types.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries may use language-specific types to represent these types and formats for better integration.\u003c/p\u003e\n"],["\u003cp\u003eThe table comprehensively lists all supported \u003ccode\u003etype\u003c/code\u003e and \u003ccode\u003eformat\u003c/code\u003e values used by the Google APIs Discovery Service.\u003c/p\u003e\n"]]],[],null,["# Type and format\n\nThe `type` and `format` properties on parameters and schemas can be used\nto determine the data type of the property. The `type` property indicates the type of\nthe property when its sent in JSON requests and responses (JSON supports a small set of data\ntypes, see [json.org](https://json.org) for details). The `format`\nproperty provides additional information about the underlying type. Properties will always have\na `type` property, but some may also have a `format` property.\n\n\nFor example, a 64-bit integer cannot be represented in JSON (since JavaScript and JSON support\nintegers up to 2\\^53). Therefore, a 64-bit integer must be represented as a string in JSON\nrequests/responses. So the `type` property will be set to \"string\", but the\n`format` property will be set to \"int64\" to indicate that it is a 64-bit integer.\n\n\nThe JSON Schema spec already [defines a set of common\nvalues](https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23) for the `format` property. The Google APIs Discovery Service supports some\nof these values, and defines others as well. The full list of `type` and\n`format` values supported by Google APIs Discovery Service is summarized below.\n| **Note:** The [client libraries](https://developers.google.com/api-client-library/) that we automatically generate from an API's discovery document sometimes use language-idiomatic types for these types and formats. For example: A 64-bit integer is represented as type `string` in JSON requests and responses, but our generated Java client library uses the Java `long` type.\n\n| Type value | Format value | Meaning |\n| `any` | | The property may have any type. Defined by the [JSON Schema spec](https://tools.ietf.org/html/draft-zyp-json-schema-03). |\n| `any` | `google.protobuf.Value` | The property has the JSON representation of the type of [google.protobuf.Value](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/struct.proto). |\n| `array` | | A JavaScript array of values. The `items` property indicates the schema for the array values. Defined by the JSON Schema spec. |\n| `array` | `google.protobuf.ListValue` | The property has the JSON representation of the type of [google.protobuf.ListValue](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/struct.proto). |\n| `boolean` | | A boolean value, either \"true\" or \"false\". Defined by the JSON Schema spec. |\n| `integer` | `int32` | A 32-bit signed integer. It has a minimum value of -2,147,483,648 and a maximum value of 2,147,483,647 (inclusive). |\n| `integer` | `uint32` | A 32-bit unsigned integer. It has a minimum value of 0 and a maximum value of 4,294,967,295 (inclusive). |\n| `number` | `double` | A double-precision 64-bit IEEE 754 floating point. |\n| `number` | `float` | A single-precision 32-bit IEEE 754 floating point. |\n| `object` | | A JavaScript object. Defined by the JSON Schema spec. |\n| `object` | `google.protobuf.Struct` | The property has the JSON representation of the type of [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/struct.proto). |\n| `object` | `google.protobuf.Any` | The property has the JSON representation of the type of [google.protobuf.Any](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/any.proto). |\n| `string` | | An arbitrary string. Defined by the JSON Schema spec. |\n| `string` | `byte` | A padded, base64-encoded string of bytes, encoded with a URL and filename safe alphabet (sometimes referred to as \"web-safe\" or \"base64url\"). Defined by [RFC4648](https://tools.ietf.org/html/rfc4648). |\n| `string` | `date` | An RFC3339 date in the format YYYY-MM-DD. Defined in the JSON Schema spec. |\n| `string` | `date-time` | An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ. The milliseconds portion (\".SSS\") is optional. Defined in the JSON Schema spec. |\n| `string` | `google-datetime` | An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ. The milliseconds portion (\".SSS\") is optional. |\n| `string` | `google-duration` | A string ends in the suffix \"s\" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. The period is always used as the decimal point, not a comma. |\n| `string` | `google-fieldmask` | A string where field names are separated by a comma. Field names are represented in lower-camel naming conventions. |\n| `string` | `int64` | A 64-bit signed integer. It has a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807 (inclusive). |\n| `string` | `uint64` | A 64-bit unsigned integer. It has a minimum value of 0 and a maximum value of (2\\^64)-1 (inclusive). |\n|------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]