models
MetadataFieldsType
module-attribute
¶
MetadataFieldsType = Annotated[
Union[
ImageMetadataFields,
RasterMetadataFields,
PointCloudMetadataFields,
],
Discriminator("fields_type"),
]
SearchOn
module-attribute
¶
SearchOn = Literal[
"images",
"rasters",
"point_clouds",
"projects",
"data_collections",
]
SearchFilterOperator
module-attribute
¶
SearchFilterOperator = Literal[
"==",
"!=",
"<",
"<=",
">",
">=",
"~",
"!~",
"contains",
"!contains",
"in",
"!in",
]
SearchFilterDataType
module-attribute
¶
SearchFilterListDataType
module-attribute
¶
SearchFilterListDataType = Annotated[
list[SearchFilterDataType], MinLen(1)
]
SearchFilterCompDataType
module-attribute
¶
SearchFilterCompDataType = Union[
SearchFilterDataType, SearchFilterListDataType
]
SearchFilterComparisonDict
module-attribute
¶
SearchFilterComparisonDict = dict[
SearchFilterOperator,
tuple[SearchFilterVar, SearchFilterCompDataType],
]
SearchFilterAndExpr
module-attribute
¶
SearchFilterAndExpr = TypedDict(
"SearchFilterAndExpr", {"and": list["SearchFilter"]}
)
SearchFilterOrExpr
module-attribute
¶
SearchFilterOrExpr = TypedDict(
"SearchFilterOrExpr", {"or": list["SearchFilter"]}
)
SearchFilter
module-attribute
¶
SearchFilter = Union[
SearchFilterComparisonDict,
SearchFilterAndExpr,
SearchFilterOrExpr,
]
OIDCUserCreateInput
pydantic-model
¶
Bases: BaseModel
Input model for creating a new OIDC user.
Show JSON schema:
{
"description": "Input model for creating a new OIDC user.",
"properties": {
"first_name": {
"title": "First Name",
"type": "string"
},
"last_name": {
"title": "Last Name",
"type": "string"
},
"email": {
"format": "email",
"title": "Email",
"type": "string"
},
"password": {
"format": "password",
"title": "Password",
"type": "string",
"writeOnly": true
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"user_type": {
"enum": [
"creator",
"superuser",
"viewer"
],
"title": "User Type",
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"email",
"password",
"user_type"
],
"title": "OIDCUserCreateInput",
"type": "object"
}
Fields:
-
first_name(str) -
last_name(str) -
email(EmailStr) -
password(SecretStr) -
enabled(bool) -
user_type(Literal['creator', 'superuser', 'viewer'])
Source code in src/pixel_client/models.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
dump_secret ¶
dump_secret(v: SecretStr) -> str
Serialize the password field to a string.
Source code in src/pixel_client/models.py
88 89 90 91 | |
OIDCUserUpdateInput
pydantic-model
¶
Bases: BaseModel
Input model for updating an OIDC user.
Show JSON schema:
{
"description": "Input model for updating an OIDC user.",
"properties": {
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "First Name"
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Last Name"
},
"password": {
"anyOf": [
{
"format": "password",
"type": "string",
"writeOnly": true
},
{
"type": "null"
}
],
"default": null,
"title": "Password"
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"user_type": {
"anyOf": [
{
"enum": [
"creator",
"superuser",
"viewer"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "User Type"
}
},
"title": "OIDCUserUpdateInput",
"type": "object"
}
Fields:
-
first_name(str | None) -
last_name(str | None) -
password(SecretStr | None) -
enabled(bool) -
user_type(Literal['creator', 'superuser', 'viewer'] | None)
Source code in src/pixel_client/models.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
dump_secret ¶
dump_secret(v: SecretStr | None) -> str | None
Serialize the password field to a string.
Source code in src/pixel_client/models.py
103 104 105 106 107 108 109 110 | |
PixelStatusEnum ¶
Bases: StrEnum
Enum for the status of a pixel task.
Source code in src/pixel_client/models.py
113 114 115 116 117 118 119 120 121 122 | |
NearblackOptions
pydantic-model
¶
Bases: BaseModel
Options for applying nearblack when optimizing raster images.
Show JSON schema:
{
"description": "Options for applying nearblack when optimizing raster images.",
"properties": {
"enabled": {
"title": "Enabled",
"type": "boolean"
},
"color": {
"anyOf": [
{
"enum": [
"black",
"white"
],
"type": "string"
},
{
"exclusiveMaximum": 256,
"minimum": 0,
"type": "integer"
}
],
"default": "black",
"title": "Color"
},
"algorithm": {
"default": "twopasses",
"enum": [
"floodfill",
"twopasses"
],
"title": "Algorithm",
"type": "string"
}
},
"required": [
"enabled"
],
"title": "NearblackOptions",
"type": "object"
}
Fields:
-
enabled(bool) -
color(Literal['black', 'white'] | Annotated[int, Ge(0), Lt(256)]) -
algorithm(Literal['floodfill', 'twopasses'])
Source code in src/pixel_client/models.py
125 126 127 128 129 130 131 132 | |
ListParams
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"extended": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Extended"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
}
},
"title": "ListParams",
"type": "object"
}
Fields:
-
extended(bool | None) -
name(str | None) -
ids(Annotated[list[int] | None, PlainSerializer(_serialize_to_comma_sep_list)] | None) -
tags(Annotated[list[str] | None, PlainSerializer(_serialize_to_comma_sep_list)]) -
offset(int | None) -
limit(int | None)
Source code in src/pixel_client/models.py
135 136 137 138 139 140 141 142 143 144 145 146 | |
DataCollectionListParams
pydantic-model
¶
Bases: ListParams
Show JSON schema:
{
"properties": {
"extended": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Extended"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"data_collection_type": {
"anyOf": [
{
"enum": [
"image",
"raster",
"RGB",
"DTM",
"DSM",
"point_cloud"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Collection Type"
}
},
"title": "DataCollectionListParams",
"type": "object"
}
Fields:
-
extended(bool | None) -
name(str | None) -
ids(Annotated[list[int] | None, PlainSerializer(_serialize_to_comma_sep_list)] | None) -
tags(Annotated[list[str] | None, PlainSerializer(_serialize_to_comma_sep_list)]) -
offset(int | None) -
limit(int | None) -
data_collection_type(DataCollectionType | None)
Source code in src/pixel_client/models.py
149 150 | |
RasterListParams
pydantic-model
¶
Bases: ListParams
Show JSON schema:
{
"properties": {
"extended": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Extended"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"format": {
"anyOf": [
{
"enum": [
"GTiff",
"JPEG",
"PNG",
"WEBP",
"MRF",
"PDF"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Format"
}
},
"title": "RasterListParams",
"type": "object"
}
Fields:
-
extended(bool | None) -
name(str | None) -
ids(Annotated[list[int] | None, PlainSerializer(_serialize_to_comma_sep_list)] | None) -
tags(Annotated[list[str] | None, PlainSerializer(_serialize_to_comma_sep_list)]) -
offset(int | None) -
limit(int | None) -
format(Literal['GTiff', 'JPEG', 'PNG', 'WEBP', 'MRF', 'PDF'] | None)
Source code in src/pixel_client/models.py
153 154 | |
PointCloudListParams
pydantic-model
¶
Bases: ListParams
Show JSON schema:
{
"properties": {
"extended": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Extended"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"format": {
"anyOf": [
{
"enum": [
"LAZ",
"LAS"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Format"
},
"point_record_format": {
"anyOf": [
{
"maximum": 10,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Point Record Format"
},
"version_major": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Version Major"
},
"version_minor": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Version Minor"
}
},
"title": "PointCloudListParams",
"type": "object"
}
Fields:
-
extended(bool | None) -
name(str | None) -
ids(Annotated[list[int] | None, PlainSerializer(_serialize_to_comma_sep_list)] | None) -
tags(Annotated[list[str] | None, PlainSerializer(_serialize_to_comma_sep_list)]) -
offset(int | None) -
limit(int | None) -
format(Literal['LAZ', 'LAS'] | None) -
point_record_format(Annotated[int | None, Ge(0), Le(10)]) -
version_major(int | None) -
version_minor(int | None)
Source code in src/pixel_client/models.py
157 158 159 160 161 | |
OptimizedPointCloudListParams
pydantic-model
¶
Bases: PointCloudListParams
Show JSON schema:
{
"$defs": {
"PixelStatusEnum": {
"description": "Enum for the status of a pixel task.",
"enum": [
"pending",
"submitted",
"in_progress",
"completed",
"failed"
],
"title": "PixelStatusEnum",
"type": "string"
}
},
"properties": {
"extended": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Extended"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"format": {
"anyOf": [
{
"enum": [
"LAZ",
"LAS"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Format"
},
"point_record_format": {
"anyOf": [
{
"maximum": 10,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Point Record Format"
},
"version_major": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Version Major"
},
"version_minor": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Version Minor"
},
"status": {
"anyOf": [
{
"$ref": "#/$defs/PixelStatusEnum"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "OptimizedPointCloudListParams",
"type": "object"
}
Fields:
-
extended(bool | None) -
name(str | None) -
ids(Annotated[list[int] | None, PlainSerializer(_serialize_to_comma_sep_list)] | None) -
tags(Annotated[list[str] | None, PlainSerializer(_serialize_to_comma_sep_list)]) -
offset(int | None) -
limit(int | None) -
format(Literal['LAZ', 'LAS'] | None) -
point_record_format(Annotated[int | None, Ge(0), Le(10)]) -
version_major(int | None) -
version_minor(int | None) -
status(PixelStatusEnum | None)
Source code in src/pixel_client/models.py
164 165 | |
HarvestTaskListParams
pydantic-model
¶
Bases: ListParams
Show JSON schema:
{
"$defs": {
"PixelStatusEnum": {
"description": "Enum for the status of a pixel task.",
"enum": [
"pending",
"submitted",
"in_progress",
"completed",
"failed"
],
"title": "PixelStatusEnum",
"type": "string"
}
},
"properties": {
"extended": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Extended"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"status": {
"anyOf": [
{
"$ref": "#/$defs/PixelStatusEnum"
},
{
"type": "null"
}
],
"default": null
},
"get_new": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Get New"
}
},
"title": "HarvestTaskListParams",
"type": "object"
}
Fields:
-
extended(bool | None) -
name(str | None) -
ids(Annotated[list[int] | None, PlainSerializer(_serialize_to_comma_sep_list)] | None) -
tags(Annotated[list[str] | None, PlainSerializer(_serialize_to_comma_sep_list)]) -
offset(int | None) -
limit(int | None) -
status(PixelStatusEnum | None) -
get_new(bool | None)
Source code in src/pixel_client/models.py
168 169 170 | |
ImageMetadataFields
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"fields_type": {
"const": "image",
"default": "image",
"title": "Fields Type",
"type": "string"
},
"image_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Type"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"location": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Location"
},
"cam_heading": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Heading"
},
"cam_pitch": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Pitch"
},
"cam_roll": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Roll"
},
"hfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Hfov"
},
"vfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Vfov"
},
"far_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Far Dist"
},
"near_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Near Dist"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
},
"cam_height": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Height"
},
"img_rotation": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Img Rotation"
},
"cam_orientation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Orientation"
},
"focal_length": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Focal Length"
},
"radial": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Radial"
}
},
"title": "ImageMetadataFields",
"type": "object"
}
Fields:
-
fields_type(Literal['image']) -
image_type(str | None) -
name(str | None) -
location(dict | None) -
cam_heading(float | None) -
cam_pitch(float | None) -
cam_roll(float | None) -
hfov(float | None) -
vfov(float | None) -
far_dist(float | None) -
near_dist(float | None) -
capture_date(datetime.datetime | None) -
cam_height(float | None) -
img_rotation(float | None) -
cam_orientation(str | None) -
focal_length(float | None) -
radial(str | None)
Source code in src/pixel_client/models.py
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | |
RasterMetadataFields
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"fields_type": {
"const": "raster",
"default": "raster",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "RasterMetadataFields",
"type": "object"
}
Fields:
-
fields_type(Literal['raster']) -
name(str | None) -
capture_date(datetime.datetime | None)
Source code in src/pixel_client/models.py
193 194 195 196 | |
PointCloudMetadataFields
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"fields_type": {
"const": "point_cloud",
"default": "point_cloud",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "PointCloudMetadataFields",
"type": "object"
}
Fields:
-
fields_type(Literal['point_cloud']) -
name(str | None) -
capture_date(datetime.datetime | None)
Source code in src/pixel_client/models.py
199 200 201 202 | |
MetadataObject
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"$defs": {
"ImageMetadataFields": {
"properties": {
"fields_type": {
"const": "image",
"default": "image",
"title": "Fields Type",
"type": "string"
},
"image_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Type"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"location": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Location"
},
"cam_heading": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Heading"
},
"cam_pitch": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Pitch"
},
"cam_roll": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Roll"
},
"hfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Hfov"
},
"vfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Vfov"
},
"far_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Far Dist"
},
"near_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Near Dist"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
},
"cam_height": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Height"
},
"img_rotation": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Img Rotation"
},
"cam_orientation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Orientation"
},
"focal_length": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Focal Length"
},
"radial": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Radial"
}
},
"title": "ImageMetadataFields",
"type": "object"
},
"PointCloudMetadataFields": {
"properties": {
"fields_type": {
"const": "point_cloud",
"default": "point_cloud",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "PointCloudMetadataFields",
"type": "object"
},
"RasterMetadataFields": {
"properties": {
"fields_type": {
"const": "raster",
"default": "raster",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "RasterMetadataFields",
"type": "object"
}
},
"properties": {
"fields": {
"anyOf": [
{
"discriminator": {
"mapping": {
"image": "#/$defs/ImageMetadataFields",
"point_cloud": "#/$defs/PointCloudMetadataFields",
"raster": "#/$defs/RasterMetadataFields"
},
"propertyName": "fields_type"
},
"oneOf": [
{
"$ref": "#/$defs/ImageMetadataFields"
},
{
"$ref": "#/$defs/RasterMetadataFields"
},
{
"$ref": "#/$defs/PointCloudMetadataFields"
}
]
},
{
"type": "null"
}
],
"default": null,
"title": "Fields"
},
"json_metadata": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Json Metadata"
}
},
"title": "MetadataObject",
"type": "object"
}
Fields:
-
fields(MetadataFieldsType | None) -
json_metadata(dict[str, str | float | int | None] | None)
Source code in src/pixel_client/models.py
211 212 213 | |
PixelUploadFile
pydantic-model
¶
Bases: BaseModel
Model for uploading a file to Pixel
Show JSON schema:
{
"$defs": {
"ImageMetadataFields": {
"properties": {
"fields_type": {
"const": "image",
"default": "image",
"title": "Fields Type",
"type": "string"
},
"image_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Type"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"location": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Location"
},
"cam_heading": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Heading"
},
"cam_pitch": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Pitch"
},
"cam_roll": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Roll"
},
"hfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Hfov"
},
"vfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Vfov"
},
"far_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Far Dist"
},
"near_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Near Dist"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
},
"cam_height": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Height"
},
"img_rotation": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Img Rotation"
},
"cam_orientation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Orientation"
},
"focal_length": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Focal Length"
},
"radial": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Radial"
}
},
"title": "ImageMetadataFields",
"type": "object"
},
"MetadataObject": {
"properties": {
"fields": {
"anyOf": [
{
"discriminator": {
"mapping": {
"image": "#/$defs/ImageMetadataFields",
"point_cloud": "#/$defs/PointCloudMetadataFields",
"raster": "#/$defs/RasterMetadataFields"
},
"propertyName": "fields_type"
},
"oneOf": [
{
"$ref": "#/$defs/ImageMetadataFields"
},
{
"$ref": "#/$defs/RasterMetadataFields"
},
{
"$ref": "#/$defs/PointCloudMetadataFields"
}
]
},
{
"type": "null"
}
],
"default": null,
"title": "Fields"
},
"json_metadata": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Json Metadata"
}
},
"title": "MetadataObject",
"type": "object"
},
"PointCloudMetadataFields": {
"properties": {
"fields_type": {
"const": "point_cloud",
"default": "point_cloud",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "PointCloudMetadataFields",
"type": "object"
},
"RasterMetadataFields": {
"properties": {
"fields_type": {
"const": "raster",
"default": "raster",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "RasterMetadataFields",
"type": "object"
}
},
"description": "Model for uploading a file to Pixel",
"properties": {
"file": {
"format": "path",
"title": "File",
"type": "string"
},
"support_files": {
"anyOf": [
{
"items": {
"format": "path",
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Support Files"
},
"metadata": {
"anyOf": [
{
"$ref": "#/$defs/MetadataObject"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file"
],
"title": "PixelUploadFile",
"type": "object"
}
Fields:
-
file(Path) -
support_files(list[Path] | None) -
metadata(MetadataObject | None)
Source code in src/pixel_client/models.py
216 217 218 219 220 221 222 223 | |
PixelAttachmentUpload
pydantic-model
¶
Bases: BaseModel
Model for uploading an attachment to a Pixel object
Show JSON schema:
{
"description": "Model for uploading an attachment to a Pixel object",
"properties": {
"file": {
"format": "path",
"title": "File",
"type": "string"
},
"name": {
"default": "",
"title": "Name",
"type": "string"
},
"description": {
"default": "",
"title": "Description",
"type": "string"
}
},
"required": [
"file"
],
"title": "PixelAttachmentUpload",
"type": "object"
}
Fields:
Validators:
Source code in src/pixel_client/models.py
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | |
RasterInfo
pydantic-model
¶
Bases: BaseModel
Model for raster information, used for creating a raster data collection.
Show JSON schema:
{
"description": "Model for raster information, used for creating a raster data collection.",
"properties": {
"srid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Srid"
},
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Format"
},
"data_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Type"
},
"cell_size": {
"anyOf": [
{
"maxItems": 2,
"minItems": 2,
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Cell Size"
},
"num_bands": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Num Bands"
}
},
"title": "RasterInfo",
"type": "object"
}
Fields:
-
srid(int | None) -
format(str | None) -
data_type(str | None) -
cell_size(tuple[float, float] | None) -
num_bands(int | None)
Source code in src/pixel_client/models.py
248 249 250 251 252 253 254 255 256 257 | |
ApiKey
pydantic-model
¶
Bases: BaseModel
Model for API key authentication
Show JSON schema:
{
"description": "Model for API key authentication",
"properties": {
"api_key": {
"format": "password",
"title": "Api Key",
"type": "string",
"writeOnly": true
},
"api_key_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Api Key Item Id"
}
},
"required": [
"api_key"
],
"title": "ApiKey",
"type": "object"
}
Fields:
-
api_key(SecretStr) -
api_key_item_id(str | None)
Source code in src/pixel_client/models.py
260 261 262 263 264 265 266 267 268 269 270 271 272 273 | |
dump_secret ¶
dump_secret(v: SecretStr) -> str
Serialize the API key field to a string.
Source code in src/pixel_client/models.py
268 269 270 271 272 273 | |
Credentials
pydantic-model
¶
Bases: BaseModel
Model for credentials authentication
Show JSON schema:
{
"description": "Model for credentials authentication",
"properties": {
"username": {
"title": "Username",
"type": "string"
},
"password": {
"format": "password",
"title": "Password",
"type": "string",
"writeOnly": true
},
"token_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Token Url"
}
},
"required": [
"username",
"password"
],
"title": "Credentials",
"type": "object"
}
Fields:
Source code in src/pixel_client/models.py
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | |
dump_secret ¶
dump_secret(v: SecretStr) -> str
Serialize the password field to a string.
Source code in src/pixel_client/models.py
285 286 287 288 289 290 | |
HarvestAuthInfo
pydantic-model
¶
Bases: BaseModel
Model for harvest service authentication information.
Show JSON schema:
{
"$defs": {
"ApiKey": {
"description": "Model for API key authentication",
"properties": {
"api_key": {
"format": "password",
"title": "Api Key",
"type": "string",
"writeOnly": true
},
"api_key_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Api Key Item Id"
}
},
"required": [
"api_key"
],
"title": "ApiKey",
"type": "object"
},
"Credentials": {
"description": "Model for credentials authentication",
"properties": {
"username": {
"title": "Username",
"type": "string"
},
"password": {
"format": "password",
"title": "Password",
"type": "string",
"writeOnly": true
},
"token_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Token Url"
}
},
"required": [
"username",
"password"
],
"title": "Credentials",
"type": "object"
}
},
"description": "Model for harvest service authentication information.",
"properties": {
"credentials": {
"anyOf": [
{
"$ref": "#/$defs/Credentials"
},
{
"type": "null"
}
],
"default": null
},
"api_key": {
"anyOf": [
{
"$ref": "#/$defs/ApiKey"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "HarvestAuthInfo",
"type": "object"
}
Fields:
-
credentials(Credentials | None) -
api_key(ApiKey | None)
Source code in src/pixel_client/models.py
293 294 295 296 297 298 299 | |
HarvestFieldMap
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"model": {
"title": "Model",
"type": "string"
},
"field_name": {
"title": "Field Name",
"type": "string"
},
"external_field": {
"title": "External Field",
"type": "string"
}
},
"required": [
"model",
"field_name",
"external_field"
],
"title": "HarvestFieldMap",
"type": "object"
}
Fields:
-
model(str) -
field_name(str) -
external_field(str)
Source code in src/pixel_client/models.py
302 303 304 305 | |
HarvestFieldMapping
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"$defs": {
"HarvestFieldMap": {
"properties": {
"model": {
"title": "Model",
"type": "string"
},
"field_name": {
"title": "Field Name",
"type": "string"
},
"external_field": {
"title": "External Field",
"type": "string"
}
},
"required": [
"model",
"field_name",
"external_field"
],
"title": "HarvestFieldMap",
"type": "object"
}
},
"properties": {
"maps": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/HarvestFieldMap"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Maps"
},
"extra_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra Fields"
}
},
"title": "HarvestFieldMapping",
"type": "object"
}
Fields:
-
maps(list[HarvestFieldMap] | None) -
extra_fields(list[str] | None)
Source code in src/pixel_client/models.py
308 309 310 | |
HarvestServiceCreateInput
pydantic-model
¶
Bases: BaseModel
Model for creating a new harvest service.
Show JSON schema:
{
"$defs": {
"ApiKey": {
"description": "Model for API key authentication",
"properties": {
"api_key": {
"format": "password",
"title": "Api Key",
"type": "string",
"writeOnly": true
},
"api_key_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Api Key Item Id"
}
},
"required": [
"api_key"
],
"title": "ApiKey",
"type": "object"
},
"Credentials": {
"description": "Model for credentials authentication",
"properties": {
"username": {
"title": "Username",
"type": "string"
},
"password": {
"format": "password",
"title": "Password",
"type": "string",
"writeOnly": true
},
"token_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Token Url"
}
},
"required": [
"username",
"password"
],
"title": "Credentials",
"type": "object"
},
"HarvestAuthInfo": {
"description": "Model for harvest service authentication information.",
"properties": {
"credentials": {
"anyOf": [
{
"$ref": "#/$defs/Credentials"
},
{
"type": "null"
}
],
"default": null
},
"api_key": {
"anyOf": [
{
"$ref": "#/$defs/ApiKey"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "HarvestAuthInfo",
"type": "object"
},
"HarvestFieldMap": {
"properties": {
"model": {
"title": "Model",
"type": "string"
},
"field_name": {
"title": "Field Name",
"type": "string"
},
"external_field": {
"title": "External Field",
"type": "string"
}
},
"required": [
"model",
"field_name",
"external_field"
],
"title": "HarvestFieldMap",
"type": "object"
},
"HarvestFieldMapping": {
"properties": {
"maps": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/HarvestFieldMap"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Maps"
},
"extra_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra Fields"
}
},
"title": "HarvestFieldMapping",
"type": "object"
}
},
"description": "Model for creating a new harvest service.",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"description": {
"title": "Description",
"type": "string"
},
"url": {
"title": "Url",
"type": "string"
},
"auth": {
"$ref": "#/$defs/HarvestAuthInfo"
},
"field_mappings": {
"$ref": "#/$defs/HarvestFieldMapping"
},
"where_clause": {
"default": "1=1",
"title": "Where Clause",
"type": "string"
}
},
"required": [
"name",
"description",
"url",
"auth"
],
"title": "HarvestServiceCreateInput",
"type": "object"
}
Fields:
-
name(str) -
description(str) -
url(str) -
auth(HarvestAuthInfo) -
field_mappings(HarvestFieldMapping) -
where_clause(str)
Source code in src/pixel_client/models.py
313 314 315 316 317 318 319 320 321 322 323 | |
HarvestFieldMapUpdate
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"operation": {
"enum": [
"add",
"remove",
"update"
],
"title": "Operation",
"type": "string"
},
"model": {
"title": "Model",
"type": "string"
},
"field_name": {
"title": "Field Name",
"type": "string"
},
"external_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "External Field"
}
},
"required": [
"operation",
"model",
"field_name"
],
"title": "HarvestFieldMapUpdate",
"type": "object"
}
Fields:
-
operation(Literal['add', 'remove', 'update']) -
model(str) -
field_name(str) -
external_field(str | None)
Validators:
Source code in src/pixel_client/models.py
326 327 328 329 330 331 332 333 334 335 336 | |
validate_model
pydantic-validator
¶
validate_model() -> Self
Source code in src/pixel_client/models.py
332 333 334 335 336 | |
FieldMapsUpdateInput
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"$defs": {
"HarvestFieldMapUpdate": {
"properties": {
"operation": {
"enum": [
"add",
"remove",
"update"
],
"title": "Operation",
"type": "string"
},
"model": {
"title": "Model",
"type": "string"
},
"field_name": {
"title": "Field Name",
"type": "string"
},
"external_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "External Field"
}
},
"required": [
"operation",
"model",
"field_name"
],
"title": "HarvestFieldMapUpdate",
"type": "object"
}
},
"properties": {
"maps": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/HarvestFieldMapUpdate"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Maps"
},
"add_extra_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Add Extra Fields"
},
"remove_extra_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Remove Extra Fields"
}
},
"title": "FieldMapsUpdateInput",
"type": "object"
}
Fields:
-
maps(list[HarvestFieldMapUpdate] | None) -
add_extra_fields(list[str] | None) -
remove_extra_fields(list[str] | None)
Source code in src/pixel_client/models.py
339 340 341 342 | |
HarvestServiceUpdateInput
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"$defs": {
"ApiKey": {
"description": "Model for API key authentication",
"properties": {
"api_key": {
"format": "password",
"title": "Api Key",
"type": "string",
"writeOnly": true
},
"api_key_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Api Key Item Id"
}
},
"required": [
"api_key"
],
"title": "ApiKey",
"type": "object"
},
"Credentials": {
"description": "Model for credentials authentication",
"properties": {
"username": {
"title": "Username",
"type": "string"
},
"password": {
"format": "password",
"title": "Password",
"type": "string",
"writeOnly": true
},
"token_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Token Url"
}
},
"required": [
"username",
"password"
],
"title": "Credentials",
"type": "object"
},
"FieldMapsUpdateInput": {
"properties": {
"maps": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/HarvestFieldMapUpdate"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Maps"
},
"add_extra_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Add Extra Fields"
},
"remove_extra_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Remove Extra Fields"
}
},
"title": "FieldMapsUpdateInput",
"type": "object"
},
"HarvestAuthInfo": {
"description": "Model for harvest service authentication information.",
"properties": {
"credentials": {
"anyOf": [
{
"$ref": "#/$defs/Credentials"
},
{
"type": "null"
}
],
"default": null
},
"api_key": {
"anyOf": [
{
"$ref": "#/$defs/ApiKey"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "HarvestAuthInfo",
"type": "object"
},
"HarvestFieldMapUpdate": {
"properties": {
"operation": {
"enum": [
"add",
"remove",
"update"
],
"title": "Operation",
"type": "string"
},
"model": {
"title": "Model",
"type": "string"
},
"field_name": {
"title": "Field Name",
"type": "string"
},
"external_field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "External Field"
}
},
"required": [
"operation",
"model",
"field_name"
],
"title": "HarvestFieldMapUpdate",
"type": "object"
}
},
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"auth": {
"anyOf": [
{
"$ref": "#/$defs/HarvestAuthInfo"
},
{
"type": "null"
}
],
"default": null
},
"where_clause": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Where Clause"
},
"field_mappings": {
"anyOf": [
{
"$ref": "#/$defs/FieldMapsUpdateInput"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "HarvestServiceUpdateInput",
"type": "object"
}
Fields:
-
name(str | None) -
description(str | None) -
url(str | None) -
auth(HarvestAuthInfo | None) -
where_clause(str | None) -
field_mappings(FieldMapsUpdateInput | None)
Source code in src/pixel_client/models.py
345 346 347 348 349 350 351 | |
ArcGISImageServiceWMSOptions
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"enable": {
"default": true,
"title": "Enable",
"type": "boolean"
},
"supported_srids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Supported Srids"
},
"abstract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Abstract"
},
"keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Keywords"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"title": "ArcGISImageServiceWMSOptions",
"type": "object"
}
Fields:
-
enable(bool) -
supported_srids(list[int] | None) -
abstract(str | None) -
keywords(list[str] | None) -
title(str | None)
Source code in src/pixel_client/models.py
354 355 356 357 358 359 | |
ArcGISImageServiceOptions
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"$defs": {
"ArcGISImageServiceWMSOptions": {
"properties": {
"enable": {
"default": true,
"title": "Enable",
"type": "boolean"
},
"supported_srids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Supported Srids"
},
"abstract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Abstract"
},
"keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Keywords"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"title": "ArcGISImageServiceWMSOptions",
"type": "object"
}
},
"properties": {
"default_service_srid": {
"title": "Default Service Srid",
"type": "integer"
},
"wms_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceWMSOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"default_service_srid"
],
"title": "ArcGISImageServiceOptions",
"type": "object"
}
Fields:
Source code in src/pixel_client/models.py
362 363 364 365 | |
ArcGISFeatureServiceImageLayerOptions
pydantic-model
¶
Bases: BaseModel
Options for the image layer in an ArcGIS feature service.
Show JSON schema:
{
"description": "Options for the image layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
},
"enable_oriented_imagery": {
"default": false,
"title": "Enable Oriented Imagery",
"type": "boolean"
},
"enable_images_as_attachments": {
"default": false,
"title": "Enable Images As Attachments",
"type": "boolean"
},
"image_processed_type": {
"default": "blurred",
"enum": [
"original",
"blurred"
],
"title": "Image Processed Type",
"type": "string"
}
},
"title": "ArcGISFeatureServiceImageLayerOptions",
"type": "object"
}
Fields:
-
include_fields(list[str] | None) -
enable_oriented_imagery(bool) -
enable_images_as_attachments(bool) -
image_processed_type(Literal['original', 'blurred'])
Source code in src/pixel_client/models.py
368 369 370 371 372 373 374 375 376 | |
ArcGISFeatureServiceProjectLayerOptions
pydantic-model
¶
Bases: BaseModel
Options for the project layer in an ArcGIS feature service.
Show JSON schema:
{
"description": "Options for the project layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
}
},
"title": "ArcGISFeatureServiceProjectLayerOptions",
"type": "object"
}
Fields:
-
include_fields(list[str] | None)
Source code in src/pixel_client/models.py
379 380 381 382 383 384 | |
ArcGISFeatureServiceOptions
pydantic-model
¶
Bases: BaseModel
Options for creating an ArcGIS feature service.
Show JSON schema:
{
"$defs": {
"ArcGISFeatureServiceImageLayerOptions": {
"description": "Options for the image layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
},
"enable_oriented_imagery": {
"default": false,
"title": "Enable Oriented Imagery",
"type": "boolean"
},
"enable_images_as_attachments": {
"default": false,
"title": "Enable Images As Attachments",
"type": "boolean"
},
"image_processed_type": {
"default": "blurred",
"enum": [
"original",
"blurred"
],
"title": "Image Processed Type",
"type": "string"
}
},
"title": "ArcGISFeatureServiceImageLayerOptions",
"type": "object"
},
"ArcGISFeatureServiceProjectLayerOptions": {
"description": "Options for the project layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
}
},
"title": "ArcGISFeatureServiceProjectLayerOptions",
"type": "object"
}
},
"description": "Options for creating an ArcGIS feature service.",
"properties": {
"image_layer": {
"$ref": "#/$defs/ArcGISFeatureServiceImageLayerOptions"
},
"project_layer": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceProjectLayerOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"image_layer"
],
"title": "ArcGISFeatureServiceOptions",
"type": "object"
}
Fields:
-
image_layer(ArcGISFeatureServiceImageLayerOptions) -
project_layer(ArcGISFeatureServiceProjectLayerOptions | None)
Source code in src/pixel_client/models.py
387 388 389 390 391 392 393 | |
project_layer
pydantic-field
¶
project_layer: (
ArcGISFeatureServiceProjectLayerOptions | None
) = None
ArcgisServiceCreateOptions
pydantic-model
¶
Bases: BaseModel
Options for creating an ArcGIS service.
Show JSON schema:
{
"$defs": {
"ArcGISFeatureServiceImageLayerOptions": {
"description": "Options for the image layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
},
"enable_oriented_imagery": {
"default": false,
"title": "Enable Oriented Imagery",
"type": "boolean"
},
"enable_images_as_attachments": {
"default": false,
"title": "Enable Images As Attachments",
"type": "boolean"
},
"image_processed_type": {
"default": "blurred",
"enum": [
"original",
"blurred"
],
"title": "Image Processed Type",
"type": "string"
}
},
"title": "ArcGISFeatureServiceImageLayerOptions",
"type": "object"
},
"ArcGISFeatureServiceOptions": {
"description": "Options for creating an ArcGIS feature service.",
"properties": {
"image_layer": {
"$ref": "#/$defs/ArcGISFeatureServiceImageLayerOptions"
},
"project_layer": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceProjectLayerOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"image_layer"
],
"title": "ArcGISFeatureServiceOptions",
"type": "object"
},
"ArcGISFeatureServiceProjectLayerOptions": {
"description": "Options for the project layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
}
},
"title": "ArcGISFeatureServiceProjectLayerOptions",
"type": "object"
},
"ArcGISImageServiceOptions": {
"properties": {
"default_service_srid": {
"title": "Default Service Srid",
"type": "integer"
},
"wms_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceWMSOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"default_service_srid"
],
"title": "ArcGISImageServiceOptions",
"type": "object"
},
"ArcGISImageServiceWMSOptions": {
"properties": {
"enable": {
"default": true,
"title": "Enable",
"type": "boolean"
},
"supported_srids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Supported Srids"
},
"abstract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Abstract"
},
"keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Keywords"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"title": "ArcGISImageServiceWMSOptions",
"type": "object"
}
},
"description": "Options for creating an ArcGIS service.",
"properties": {
"gdo_users": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Gdo Users"
},
"feature_service_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceOptions"
},
{
"type": "null"
}
],
"default": null
},
"image_service_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ArcgisServiceCreateOptions",
"type": "object"
}
Fields:
-
gdo_users(list[str] | None) -
feature_service_options(ArcGISFeatureServiceOptions | None) -
image_service_options(ArcGISImageServiceOptions | None)
Source code in src/pixel_client/models.py
396 397 398 399 400 401 402 403 | |
feature_service_options
pydantic-field
¶
feature_service_options: (
ArcGISFeatureServiceOptions | None
) = None
image_service_options
pydantic-field
¶
image_service_options: ArcGISImageServiceOptions | None = (
None
)
ArcgisServiceCreateInput
pydantic-model
¶
Bases: BaseModel
Input model for creating a new ArcGIS service.
Show JSON schema:
{
"$defs": {
"ArcGISFeatureServiceImageLayerOptions": {
"description": "Options for the image layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
},
"enable_oriented_imagery": {
"default": false,
"title": "Enable Oriented Imagery",
"type": "boolean"
},
"enable_images_as_attachments": {
"default": false,
"title": "Enable Images As Attachments",
"type": "boolean"
},
"image_processed_type": {
"default": "blurred",
"enum": [
"original",
"blurred"
],
"title": "Image Processed Type",
"type": "string"
}
},
"title": "ArcGISFeatureServiceImageLayerOptions",
"type": "object"
},
"ArcGISFeatureServiceOptions": {
"description": "Options for creating an ArcGIS feature service.",
"properties": {
"image_layer": {
"$ref": "#/$defs/ArcGISFeatureServiceImageLayerOptions"
},
"project_layer": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceProjectLayerOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"image_layer"
],
"title": "ArcGISFeatureServiceOptions",
"type": "object"
},
"ArcGISFeatureServiceProjectLayerOptions": {
"description": "Options for the project layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
}
},
"title": "ArcGISFeatureServiceProjectLayerOptions",
"type": "object"
},
"ArcGISImageServiceOptions": {
"properties": {
"default_service_srid": {
"title": "Default Service Srid",
"type": "integer"
},
"wms_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceWMSOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"default_service_srid"
],
"title": "ArcGISImageServiceOptions",
"type": "object"
},
"ArcGISImageServiceWMSOptions": {
"properties": {
"enable": {
"default": true,
"title": "Enable",
"type": "boolean"
},
"supported_srids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Supported Srids"
},
"abstract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Abstract"
},
"keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Keywords"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"title": "ArcGISImageServiceWMSOptions",
"type": "object"
},
"ArcgisServiceCreateOptions": {
"description": "Options for creating an ArcGIS service.",
"properties": {
"gdo_users": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Gdo Users"
},
"feature_service_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceOptions"
},
{
"type": "null"
}
],
"default": null
},
"image_service_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ArcgisServiceCreateOptions",
"type": "object"
}
},
"description": "Input model for creating a new ArcGIS service.",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"description": {
"title": "Description",
"type": "string"
},
"data_collection_ids": {
"items": {
"type": "integer"
},
"minItems": 1,
"title": "Data Collection Ids",
"type": "array"
},
"options": {
"$ref": "#/$defs/ArcgisServiceCreateOptions"
}
},
"required": [
"name",
"description",
"data_collection_ids",
"options"
],
"title": "ArcgisServiceCreateInput",
"type": "object"
}
Fields:
-
name(str) -
description(str) -
data_collection_ids(Annotated[list[int], Len(min_length=1)]) -
options(ArcgisServiceCreateOptions)
Source code in src/pixel_client/models.py
406 407 408 409 410 411 412 413 414 | |
ArcgisServiceUpdateInput
pydantic-model
¶
Bases: BaseModel
Input model for updating an ArcGIS service.
Show JSON schema:
{
"$defs": {
"ArcGISFeatureServiceImageLayerOptions": {
"description": "Options for the image layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
},
"enable_oriented_imagery": {
"default": false,
"title": "Enable Oriented Imagery",
"type": "boolean"
},
"enable_images_as_attachments": {
"default": false,
"title": "Enable Images As Attachments",
"type": "boolean"
},
"image_processed_type": {
"default": "blurred",
"enum": [
"original",
"blurred"
],
"title": "Image Processed Type",
"type": "string"
}
},
"title": "ArcGISFeatureServiceImageLayerOptions",
"type": "object"
},
"ArcGISFeatureServiceOptions": {
"description": "Options for creating an ArcGIS feature service.",
"properties": {
"image_layer": {
"$ref": "#/$defs/ArcGISFeatureServiceImageLayerOptions"
},
"project_layer": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceProjectLayerOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"image_layer"
],
"title": "ArcGISFeatureServiceOptions",
"type": "object"
},
"ArcGISFeatureServiceProjectLayerOptions": {
"description": "Options for the project layer in an ArcGIS feature service.",
"properties": {
"include_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Fields"
}
},
"title": "ArcGISFeatureServiceProjectLayerOptions",
"type": "object"
},
"ArcGISImageServiceOptions": {
"properties": {
"default_service_srid": {
"title": "Default Service Srid",
"type": "integer"
},
"wms_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceWMSOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"default_service_srid"
],
"title": "ArcGISImageServiceOptions",
"type": "object"
},
"ArcGISImageServiceWMSOptions": {
"properties": {
"enable": {
"default": true,
"title": "Enable",
"type": "boolean"
},
"supported_srids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Supported Srids"
},
"abstract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Abstract"
},
"keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Keywords"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"title": "ArcGISImageServiceWMSOptions",
"type": "object"
},
"ArcgisServiceCreateOptions": {
"description": "Options for creating an ArcGIS service.",
"properties": {
"gdo_users": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Gdo Users"
},
"feature_service_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISFeatureServiceOptions"
},
{
"type": "null"
}
],
"default": null
},
"image_service_options": {
"anyOf": [
{
"$ref": "#/$defs/ArcGISImageServiceOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ArcgisServiceCreateOptions",
"type": "object"
}
},
"description": "Input model for updating an ArcGIS service.",
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"data_collection_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Collection Ids"
},
"options": {
"anyOf": [
{
"$ref": "#/$defs/ArcgisServiceCreateOptions"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ArcgisServiceUpdateInput",
"type": "object"
}
Fields:
-
name(str | None) -
description(str | None) -
data_collection_ids(Annotated[list[int], Len(min_length=1)] | None) -
options(ArcgisServiceCreateOptions | None)
Source code in src/pixel_client/models.py
417 418 419 420 421 422 423 424 425 | |
UpdateInputBase
pydantic-model
¶
Bases: BaseModel
Base model for updating rasters and images
Show JSON schema:
{
"description": "Base model for updating rasters and images",
"properties": {
"add_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Add Tags"
},
"remove_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Remove Tags"
},
"json_metadata": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Json Metadata"
}
},
"title": "UpdateInputBase",
"type": "object"
}
Fields:
-
add_tags(list[str] | None) -
remove_tags(list[str] | None) -
json_metadata(dict[str, str | float | int | None] | None)
Validators:
Source code in src/pixel_client/models.py
428 429 430 431 432 433 434 435 436 437 438 439 440 441 | |
validate_model
pydantic-validator
¶
validate_model() -> Self
Source code in src/pixel_client/models.py
437 438 439 440 441 | |
ImageUpdateInput
pydantic-model
¶
Bases: UpdateInputBase
Input model for updating an image.
Show JSON schema:
{
"$defs": {
"ImageMetadataFields": {
"properties": {
"fields_type": {
"const": "image",
"default": "image",
"title": "Fields Type",
"type": "string"
},
"image_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image Type"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"location": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Location"
},
"cam_heading": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Heading"
},
"cam_pitch": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Pitch"
},
"cam_roll": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Roll"
},
"hfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Hfov"
},
"vfov": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Vfov"
},
"far_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Far Dist"
},
"near_dist": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Near Dist"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
},
"cam_height": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Height"
},
"img_rotation": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Img Rotation"
},
"cam_orientation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cam Orientation"
},
"focal_length": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Focal Length"
},
"radial": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Radial"
}
},
"title": "ImageMetadataFields",
"type": "object"
}
},
"description": "Input model for updating an image.",
"properties": {
"add_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Add Tags"
},
"remove_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Remove Tags"
},
"json_metadata": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Json Metadata"
},
"fields": {
"anyOf": [
{
"$ref": "#/$defs/ImageMetadataFields"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ImageUpdateInput",
"type": "object"
}
Fields:
-
add_tags(list[str] | None) -
remove_tags(list[str] | None) -
json_metadata(dict[str, str | float | int | None] | None) -
fields(ImageMetadataFields | None)
Validators:
Source code in src/pixel_client/models.py
444 445 446 447 448 449 | |
RasterUpdateInput
pydantic-model
¶
Bases: UpdateInputBase
Input model for updating a raster.
Show JSON schema:
{
"$defs": {
"RasterMetadataFields": {
"properties": {
"fields_type": {
"const": "raster",
"default": "raster",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "RasterMetadataFields",
"type": "object"
}
},
"description": "Input model for updating a raster.",
"properties": {
"add_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Add Tags"
},
"remove_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Remove Tags"
},
"json_metadata": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Json Metadata"
},
"fields": {
"anyOf": [
{
"$ref": "#/$defs/RasterMetadataFields"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "RasterUpdateInput",
"type": "object"
}
Fields:
-
add_tags(list[str] | None) -
remove_tags(list[str] | None) -
json_metadata(dict[str, str | float | int | None] | None) -
fields(RasterMetadataFields | None)
Validators:
Source code in src/pixel_client/models.py
452 453 454 455 456 457 | |
PointCloudUpdateInput
pydantic-model
¶
Bases: UpdateInputBase
Input model for updating a point cloud.
Show JSON schema:
{
"$defs": {
"PointCloudMetadataFields": {
"properties": {
"fields_type": {
"const": "point_cloud",
"default": "point_cloud",
"title": "Fields Type",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"capture_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Date"
}
},
"title": "PointCloudMetadataFields",
"type": "object"
}
},
"description": "Input model for updating a point cloud.",
"properties": {
"add_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Add Tags"
},
"remove_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Remove Tags"
},
"json_metadata": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Json Metadata"
},
"fields": {
"anyOf": [
{
"$ref": "#/$defs/PointCloudMetadataFields"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "PointCloudUpdateInput",
"type": "object"
}
Fields:
-
add_tags(list[str] | None) -
remove_tags(list[str] | None) -
json_metadata(dict[str, str | float | int | None] | None) -
fields(PointCloudMetadataFields | None)
Validators:
Source code in src/pixel_client/models.py
460 461 462 463 464 465 | |
SearchFilterVar ¶
SortField
pydantic-model
¶
Bases: BaseModel
Show JSON schema:
{
"properties": {
"field": {
"title": "Field",
"type": "string"
},
"direction": {
"default": "asc",
"enum": [
"asc",
"desc"
],
"title": "Direction",
"type": "string"
}
},
"required": [
"field"
],
"title": "SortField",
"type": "object"
}
Fields:
Source code in src/pixel_client/models.py
492 493 494 | |
SearchQuery
pydantic-model
¶
Bases: BaseModel
Model definition for search queries in Pixel API.
Show JSON schema:
{
"$defs": {
"SearchFilterAndExpr": {
"properties": {
"and": {
"items": {
"anyOf": [
{
"additionalProperties": {
"maxItems": 2,
"minItems": 2,
"prefixItems": [
{
"$ref": "#/$defs/SearchFilterVar"
},
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"format": "date-time",
"type": "string"
},
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
}
],
"type": "array"
},
"propertyNames": {
"enum": [
"==",
"!=",
"<",
"<=",
">",
">=",
"~",
"!~",
"contains",
"!contains",
"in",
"!in"
]
},
"type": "object"
},
{
"$ref": "#/$defs/SearchFilterAndExpr"
},
{
"$ref": "#/$defs/SearchFilterOrExpr"
}
]
},
"title": "And",
"type": "array"
}
},
"required": [
"and"
],
"title": "SearchFilterAndExpr",
"type": "object"
},
"SearchFilterOrExpr": {
"properties": {
"or": {
"items": {
"anyOf": [
{
"additionalProperties": {
"maxItems": 2,
"minItems": 2,
"prefixItems": [
{
"$ref": "#/$defs/SearchFilterVar"
},
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"format": "date-time",
"type": "string"
},
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
}
],
"type": "array"
},
"propertyNames": {
"enum": [
"==",
"!=",
"<",
"<=",
">",
">=",
"~",
"!~",
"contains",
"!contains",
"in",
"!in"
]
},
"type": "object"
},
{
"$ref": "#/$defs/SearchFilterAndExpr"
},
{
"$ref": "#/$defs/SearchFilterOrExpr"
}
]
},
"title": "Or",
"type": "array"
}
},
"required": [
"or"
],
"title": "SearchFilterOrExpr",
"type": "object"
},
"SearchFilterVar": {
"properties": {
"var": {
"title": "Var",
"type": "string"
}
},
"required": [
"var"
],
"title": "SearchFilterVar",
"type": "object"
},
"SortField": {
"properties": {
"field": {
"title": "Field",
"type": "string"
},
"direction": {
"default": "asc",
"enum": [
"asc",
"desc"
],
"title": "Direction",
"type": "string"
}
},
"required": [
"field"
],
"title": "SortField",
"type": "object"
}
},
"description": "Model definition for search queries in Pixel API.",
"properties": {
"on": {
"description": "Type to search on",
"enum": [
"images",
"rasters",
"point_clouds",
"projects",
"data_collections"
],
"title": "On",
"type": "string"
},
"intersects": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A WKT geometry to filter results by intersection, must be in EPSG:4326 (WGS84) coordinates",
"title": "Intersects"
},
"filter": {
"anyOf": [
{
"additionalProperties": {
"maxItems": 2,
"minItems": 2,
"prefixItems": [
{
"$ref": "#/$defs/SearchFilterVar"
},
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"format": "date-time",
"type": "string"
},
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
}
],
"type": "array"
},
"propertyNames": {
"enum": [
"==",
"!=",
"<",
"<=",
">",
">=",
"~",
"!~",
"contains",
"!contains",
"in",
"!in"
]
},
"type": "object"
},
{
"$ref": "#/$defs/SearchFilterAndExpr"
},
{
"$ref": "#/$defs/SearchFilterOrExpr"
},
{
"type": "null"
}
],
"default": null,
"description": "The filter logic to apply",
"examples": [
{
"or": [
{
">=": [
{
"var": "created_at"
},
"2023-01-01T00:00:00Z"
]
},
{
"~": [
{
"var": "name"
},
"%test%"
]
},
{
"and": [
{
">=": [
{
"var": "id"
},
1
]
},
{
"<=": [
{
"var": "id"
},
10
]
}
]
}
]
}
],
"title": "Filter"
},
"search": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A full text search string to apply",
"title": "Search"
},
"out_fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Fields to include in the output",
"title": "Out Fields"
},
"sort": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/SortField"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Fields to sort the results by",
"title": "Sort"
},
"distinct": {
"default": false,
"description": "Whether to return distinct results",
"title": "Distinct",
"type": "boolean"
},
"limit": {
"default": 100,
"description": "Maximum number of results to return",
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"description": "Number of results to skip",
"title": "Offset",
"type": "integer"
}
},
"required": [
"on"
],
"title": "SearchQuery",
"type": "object"
}
Fields:
-
on(SearchOn) -
intersects(str | None) -
filter(SearchFilter | None) -
search(str | None) -
out_fields(list[str] | None) -
sort(list[SortField] | None) -
distinct(bool) -
limit(int) -
offset(int)
Source code in src/pixel_client/models.py
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 | |