openapi: 3.2.0 info: title: OpenAgri Farm Calendar Yield Prediction API version: 1.0.0 description: API for farm assets and other farm related things. tags: - name: YieldPrediction paths: /api/v1/YieldPrediction/: get: operationId: api_v1_YieldPrediction_list description: API endpoint that allows YieldPrediction to be viewed or edited. parameters: - in: query name: activity_type schema: type: string format: uuid - in: query name: format schema: type: string enum: - json - jsonld - in: query name: fromDate schema: type: string format: date-time - in: query name: parcel schema: type: string format: uuid - in: query name: title schema: type: string - in: query name: toDate schema: type: string format: date-time tags: - YieldPrediction security: - cookieAuth: [] responses: '200': content: application/ld+json: schema: type: array items: $ref: '#/components/schemas/YieldPredictionObservation' application/json: schema: type: array items: $ref: '#/components/schemas/YieldPredictionObservation' description: '' summary: Api v1 yield prediction list x-summary-source: derived post: operationId: api_v1_YieldPrediction_create description: API endpoint that allows YieldPrediction to be viewed or edited. parameters: - in: query name: format schema: type: string enum: - json - jsonld tags: - YieldPrediction requestBody: content: application/json: schema: $ref: '#/components/schemas/YieldPredictionObservation' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/YieldPredictionObservation' multipart/form-data: schema: $ref: '#/components/schemas/YieldPredictionObservation' required: true security: - cookieAuth: [] responses: '201': content: application/ld+json: schema: $ref: '#/components/schemas/YieldPredictionObservation' application/json: schema: $ref: '#/components/schemas/YieldPredictionObservation' description: '' summary: Api v1 yield prediction create x-summary-source: derived /api/v1/YieldPrediction/{id}/: get: operationId: api_v1_YieldPrediction_retrieve description: API endpoint that allows YieldPrediction to be viewed or edited. parameters: - in: query name: format schema: type: string enum: - json - jsonld - in: path name: id schema: type: string format: uuid description: A UUID string identifying this Yield Prediction Observation. required: true tags: - YieldPrediction security: - cookieAuth: [] responses: '200': content: application/ld+json: schema: $ref: '#/components/schemas/YieldPredictionObservation' application/json: schema: $ref: '#/components/schemas/YieldPredictionObservation' description: '' summary: Api v1 yield prediction retrieve x-summary-source: derived put: operationId: api_v1_YieldPrediction_update description: API endpoint that allows YieldPrediction to be viewed or edited. parameters: - in: query name: format schema: type: string enum: - json - jsonld - in: path name: id schema: type: string format: uuid description: A UUID string identifying this Yield Prediction Observation. required: true tags: - YieldPrediction requestBody: content: application/json: schema: $ref: '#/components/schemas/YieldPredictionObservation' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/YieldPredictionObservation' multipart/form-data: schema: $ref: '#/components/schemas/YieldPredictionObservation' required: true security: - cookieAuth: [] responses: '200': content: application/ld+json: schema: $ref: '#/components/schemas/YieldPredictionObservation' application/json: schema: $ref: '#/components/schemas/YieldPredictionObservation' description: '' summary: Api v1 yield prediction update x-summary-source: derived patch: operationId: api_v1_YieldPrediction_partial_update description: API endpoint that allows YieldPrediction to be viewed or edited. parameters: - in: query name: format schema: type: string enum: - json - jsonld - in: path name: id schema: type: string format: uuid description: A UUID string identifying this Yield Prediction Observation. required: true tags: - YieldPrediction requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedYieldPredictionObservation' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/PatchedYieldPredictionObservation' multipart/form-data: schema: $ref: '#/components/schemas/PatchedYieldPredictionObservation' security: - cookieAuth: [] responses: '200': content: application/ld+json: schema: $ref: '#/components/schemas/YieldPredictionObservation' application/json: schema: $ref: '#/components/schemas/YieldPredictionObservation' description: '' summary: Api v1 yield prediction partial update x-summary-source: derived delete: operationId: api_v1_YieldPrediction_destroy description: API endpoint that allows YieldPrediction to be viewed or edited. parameters: - in: query name: format schema: type: string enum: - json - jsonld - in: path name: id schema: type: string format: uuid description: A UUID string identifying this Yield Prediction Observation. required: true tags: - YieldPrediction security: - cookieAuth: [] responses: '204': description: No response body summary: Api v1 yield prediction destroy x-summary-source: derived components: schemas: PatchedYieldPredictionObservation: type: object properties: id: type: string format: uuid readOnly: true activityType: type: string format: uuid title: type: string maxLength: 200 details: type: - string - 'null' phenomenonTime: type: string format: date-time hasEndDatetime: type: - string - 'null' format: date-time madeBySensor: allOf: - $ref: '#/components/schemas/MadeBySensorField' hasAgriParcel: type: string format: uuid hasArea: type: string format: decimal pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ hasResult: $ref: '#/components/schemas/GenericQuantityValueField' observedProperty: type: string GenericQuantityValueField: type: object properties: unit: type: - string - 'null' hasValue: type: string required: - hasValue YieldPredictionObservation: type: object properties: id: type: string format: uuid readOnly: true activityType: type: string format: uuid title: type: string maxLength: 200 details: type: - string - 'null' phenomenonTime: type: string format: date-time hasEndDatetime: type: - string - 'null' format: date-time madeBySensor: allOf: - $ref: '#/components/schemas/MadeBySensorField' hasAgriParcel: type: string format: uuid hasArea: type: string format: decimal pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ hasResult: $ref: '#/components/schemas/GenericQuantityValueField' observedProperty: type: string required: - activityType - hasAgriParcel - hasArea - hasResult - id - observedProperty - phenomenonTime MadeBySensorField: type: object properties: name: type: - string - 'null' required: - name securitySchemes: cookieAuth: type: apiKey in: cookie name: sessionid