-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocessors.ttl
More file actions
102 lines (97 loc) · 2.43 KB
/
processors.ttl
File metadata and controls
102 lines (97 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@prefix rdfc: <https://w3id.org/rdf-connect#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
rdfc:HttpFetch rdfc:jsImplementationOf rdfc:Processor;
rdfs:label "HTTP Fetch processor";
rdfs:description "This processor fetches a URL and writes the response to the output channel. It supports various options such as HTTP method, headers, authentication, and scheduling with cron expressions.";
rdfc:file <./lib/index.js>;
rdfc:class "HttpFetch";
rdfc:entrypoint <./>.
[ ] a sh:NodeShape;
sh:targetClass rdfc:HttpFetchAuth;
sh:property [
sh:path rdfc:type;
sh:name "type";
sh:datatype xsd:string;
sh:minCount 1;
sh:maxCount 1;
].
[ ] a sh:NodeShape;
sh:targetClass rdfc:HttpFetchOptions;
sh:property [
sh:path rdfc:method;
sh:name "method";
sh:datatype xsd:string;
sh:maxCount 1;
], [
sh:path rdfc:headers;
sh:name "headers";
sh:datatype xsd:string;
], [
sh:path rdfc:acceptStatusCodes;
sh:name "acceptStatusCodes";
sh:datatype xsd:string;
], [
sh:path rdfc:closeOnEnd;
sh:name "closeOnEnd";
sh:datatype xsd:boolean;
sh:maxCount 1;
], [
sh:path rdfc:timeOutMilliseconds;
sh:name "timeOutMilliseconds";
sh:datatype xsd:integer;
sh:maxCount 1;
], [
sh:path rdfc:HttpFetchAuth;
sh:class rdfc:HttpFetchAuth;
sh:name "auth";
sh:maxCount 1;
], [
sh:path rdfc:cron;
sh:name "cron";
sh:datatype xsd:string;
sh:maxCount 1;
], [
sh:path rdfc:runOnInit;
sh:name "runOnInit";
sh:datatype xsd:boolean;
sh:maxCount 1;
], [
sh:path rdfc:errorsAreFatal;
sh:name "errorsAreFatal";
sh:datatype xsd:boolean;
sh:maxCount 1;
sh:minCount 0;
], [
sh:path rdfc:outputAsBuffer;
sh:name "outputAsBuffer";
sh:datatype xsd:boolean;
sh:maxCount 1;
sh:minCount 0;
], [
sh:path rdfc:outputAsStream;
sh:name "outputAsStream";
sh:datatype xsd:boolean;
sh:maxCount 1;
sh:minCount 0;
].
[ ] a sh:NodeShape;
sh:targetClass rdfc:HttpFetch;
sh:property [
sh:path rdfc:url;
sh:name "url";
sh:datatype xsd:string;
sh:minCount 1;
], [
sh:path rdfc:writer;
sh:name "writer";
sh:class rdfc:Writer;
sh:maxCount 1;
sh:minCount 1;
], [
sh:path rdfc:options;
sh:name "options";
sh:class rdfc:HttpFetchOptions;
sh:maxCount 1;
].