Data schema indicates how the user specified annotation is
interpreted in the system.
Attributes
Name
Description
name
str
Resource name of the data schema in the form of:
projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
where {data_schema} part should be the same as the key
field below.
key
str
Required. The key of this data schema. This key should be
matching the key of user specified annotation and unique
inside corpus. This value can be up to 63 characters, and
valid characters are /a-z][0-9]-/. The first character must
be a letter, the last could be a letter or a number.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class DataSchema (0.1.10)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.10 (latest)](/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.DataSchema)\n- [0.1.8](/python/docs/reference/google-cloud-visionai/0.1.8/google.cloud.visionai_v1.types.DataSchema) \n\n DataSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nData schema indicates how the user specified annotation is\ninterpreted in the system."]]