by_json: Generate circulation policies
* Generate a new circulation policies file: policies.svg * Parses Circulation policies * Parses Item Types
This commit is contained in:
		
							
								
								
									
										12
									
								
								by_json/filters/circulation_policies
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								by_json/filters/circulation_policies
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
.[] | {
 | 
			
		||||
  pid,
 | 
			
		||||
  name,
 | 
			
		||||
  description,
 | 
			
		||||
  organisation: .organisation."$ref",
 | 
			
		||||
  allow_checkout,
 | 
			
		||||
  checkout_duration,
 | 
			
		||||
  allow_requests,
 | 
			
		||||
  policy_library_level,
 | 
			
		||||
  libraries: [.libraries[]?],
 | 
			
		||||
  settings
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										6
									
								
								by_json/filters/item_types
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								by_json/filters/item_types
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
.[] | {
 | 
			
		||||
  pid,
 | 
			
		||||
  name,
 | 
			
		||||
  organisation: .organisation."$ref",
 | 
			
		||||
  type
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user